
#include "server.hpp"

void Menu(char* argv[])
{
    std::cout << "\r" << argv[0] <<  "  [port] " << "\n";
}

int main(int argc , char* argv[])
{
    if(argc != 2)
    {
        Menu(argv);
        exit(1);
    }

    uint16_t port = std::stoi(argv[1]);

    Server server(port);
    server.Init();
    server.Start();
    return 0;
}